package com.springup.trade.item;

public enum Transact {
    BUY(1, "BUY"), SELL(2, "SELL");
    private final int id;
    private final String name;
    private Transact(int id, String name){
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}
